// samsting : this file is auto create.

#include "Ecs/2014-05-26/DescribeDiskMonitorDataResponse.h"

namespace aliyun { namespace Ecs {

DescribeDiskMonitorDataResponse::DescribeDiskMonitorDataResponse() {
}

const string& DescribeDiskMonitorDataResponse::DiskMonitorData::GetDiskId(void) const {
  return DiskId_;
}

int DescribeDiskMonitorDataResponse::DiskMonitorData::GetIOPSRead(void) const {
  return IOPSRead_;
}

int DescribeDiskMonitorDataResponse::DiskMonitorData::GetIOPSWrite(void) const {
  return IOPSWrite_;
}

int DescribeDiskMonitorDataResponse::DiskMonitorData::GetIOPSTotal(void) const {
  return IOPSTotal_;
}

int DescribeDiskMonitorDataResponse::DiskMonitorData::GetBPSRead(void) const {
  return BPSRead_;
}

int DescribeDiskMonitorDataResponse::DiskMonitorData::GetBPSWrite(void) const {
  return BPSWrite_;
}

int DescribeDiskMonitorDataResponse::DiskMonitorData::GetBPSTotal(void) const {
  return BPSTotal_;
}

const string& DescribeDiskMonitorDataResponse::DiskMonitorData::GetTimeStamp(void) const {
  return TimeStamp_;
}

const std::vector<DescribeDiskMonitorDataResponse::DiskMonitorData>& DescribeDiskMonitorDataResponse::GetMonitorData(void) const {
  return MonitorData_;
}

int DescribeDiskMonitorDataResponse::GetTotalCount(void) const {
  return TotalCount_;
}

const char* DescribeDiskMonitorDataResponse::BaseKey(void) {
  return "DescribeDiskMonitorDataResponse";
}

void DescribeDiskMonitorDataResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int MonitorData__length = 0;
  UnmarshallerInt(MonitorData__length, response_map, "DescribeDiskMonitorDataResponse.MonitorData.Length");
  if(MonitorData__length >= 0) {
    MonitorData_.resize(MonitorData__length);
    for(int i1 = 0; i1 < MonitorData__length; i1++) {
      UnmarshallerString(MonitorData_[i1].DiskId_, response_map, "DescribeDiskMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].DiskId");
      UnmarshallerInt(MonitorData_[i1].IOPSRead_, response_map, "DescribeDiskMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].IOPSRead");
      UnmarshallerInt(MonitorData_[i1].IOPSWrite_, response_map, "DescribeDiskMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].IOPSWrite");
      UnmarshallerInt(MonitorData_[i1].IOPSTotal_, response_map, "DescribeDiskMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].IOPSTotal");
      UnmarshallerInt(MonitorData_[i1].BPSRead_, response_map, "DescribeDiskMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].BPSRead");
      UnmarshallerInt(MonitorData_[i1].BPSWrite_, response_map, "DescribeDiskMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].BPSWrite");
      UnmarshallerInt(MonitorData_[i1].BPSTotal_, response_map, "DescribeDiskMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].BPSTotal");
      UnmarshallerString(MonitorData_[i1].TimeStamp_, response_map, "DescribeDiskMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].TimeStamp");
    } // for(int i1 = 0; i1 < MonitorData__length; i1++) {
  } // if(MonitorData__length >= 0) {

  UnmarshallerInt(TotalCount_, response_map, "DescribeDiskMonitorDataResponse.TotalCount");
}


} } // namespace aliyun { namespace Ecs {

// end of file 
